package liecai_class.day05;

/**
 * 值传递 引用传递
 */
public class Demo03 {
    public static void main(String[] args) {
        int  i = 2;
        fx1(i);
        System.out.println("main:"+i); //2
    }
    public static void fx1(int x){
        x++;
        System.out.println("fx1:"+x); //3
    }
}
